package com.kingbook.entity;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * 收付款记录
 * 
 * @Author Bucky
 * @Date 2020-03-13 17:42:48
 * @Version 1.0
 */
@lombok.Data
public class Finance implements Serializable{

    private static final long serialVersionUID = -877014319012202381L;

    /**
     *  (主键 auto_increment)
     */
    private int id;

    /**
     * 账单流水号
     */
    private String sn;

    private int mid;

    private int cid;

    private int pid;

    /**
     * 类型：1收款、2付款
     */
    private int type;

    /**
     * 收款金额或付款金额
     */
    private int amount;
    private int confirmAmount;
    private int orderNum;

    /**
     * 结算状态：-1废除 0待确认 1核账中 2核账完成 3等待收款 4已收款
     */
    private int status;

    /**
     * 说明
     */
    private String remarks;

    private Date date;

    private Timestamp createTime;

    private Timestamp updateTime;

}